package sit.mycatalog.util;

import java.util.List;

public class CatalogNode {
	private String name;
	private String label;
	private List<CatalogNode> child;
	private boolean parent;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public List<CatalogNode> getChild() {
		return child;
	}

	public void setChild(List<CatalogNode> child) {
		this.child = child;
	}

	public boolean isParent() {
		return parent;
	}

	public void setParent(boolean parent) {
		this.parent = parent;
	}

	public CatalogNode(String name, String label) {
		this.name = name;
		this.label = label;
	}
}
